package com.phone.store.util;

import java.util.Random;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/8/1 11:25 上午
 */
public class KeyUtil {

    public static synchronized String createUniqueKey() {
        Random random = new Random();
        Integer key = random.nextInt(900000) + 100000;
        return System.currentTimeMillis() + String.valueOf(key);
    }
}
